package com.siebre.picclife.asynctask.springconfig;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.ImportResource;
import org.springframework.integration.core.MessagingTemplate;

/**
 * 
 * @author ZhangChi
 * @since 2015年4月9日
 *
 */
@Configuration
@ImportResource("classpath:spring/integration/infrastructure.xml")
public class SpringIntegrationInfrastructureConfig {

	@Bean
	MessagingTemplate taskMessagingTemplate() {
		return new MessagingTemplate();
	}
}
